﻿<%@ Page Title="Домашняя страница" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="userall.aspx.cs" Inherits="_Default" %>


<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <div>  
    <h1>All users:</h1>



    <a href="userinfo.aspx?id=0">Default.aspx?id=0</a><br />  

    А таперь на эту:   

    <a href="userinfo.aspx?id=1">Default.aspx?id=1</a><br />  

    И вот на эту:   

    <a href="userinfo.aspx?id=2">Default.aspx?id=2</a>     

   </div>  

                                <asp:GridView ID="GridView1" runat="server">
                                    <Columns>
                                        <asp:HyperLinkField DataTextField="name" HeaderText="Userinfo" Target="name" 
                                            Text="follow" />
                                    </Columns>
                                </asp:GridView>
            <p>
                </p><asp:LoginView id="LoginView2" runat="server">
                    <AnonymousTemplate>
                            <p>
                                <asp:GridView ID="AnonimView" runat="server" CssClass="DataWebControlStyle">
                                    <HeaderStyle CssClass="HeaderStyle" />
                                    <AlternatingRowStyle CssClass="AlternatingRowStyle" />
                                </asp:GridView>
                            </p>
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                        Thanks for logging in 
                        <asp:LoginName id="LoginName1" runat="Server"></asp:LoginName>.
                        
                    </LoggedInTemplate>
                    <RoleGroups>
                        <asp:RoleGroup Roles="Admin">
                            <ContentTemplate>
                                <asp:LoginName id="LoginName2" runat="Server"></asp:LoginName>, you
                                are logged in as an administrator.
                            </ContentTemplate>
                        </asp:RoleGroup>
                    </RoleGroups>
                </asp:LoginView>



      
        
    </div>
</asp:Content>
